package com.atguigu.ssyx.user.service;

import com.atguigu.ssyx.model.user.User;
import com.atguigu.ssyx.vo.user.LeaderAddressVo;
import com.atguigu.ssyx.vo.user.UserLoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * Created with IntelliJ IDEA.
 * ClassName: UserService
 * Package: com.atguigu.ssyx.user.service
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-10-02
 * Time: 14:39
 */

public interface UserService extends IService<User> {
    //根据opneId进行查询
    User getUserByOpenId(String openId);

    //根据用户Id查询提货点 和 团长信息
    LeaderAddressVo getLeaderAddressByUserId(Long id);

    //7.获取当前用户登陆的信息 放到Redis中 设置有限时间
    UserLoginVo getUserLoginVo(Long id);
}
